package com.fa4j.product.stock.repository;

import com.fa4j.common.data.repository.BaseRepository;
import com.fa4j.product.stock.model.Stock;

import java.util.List;

/**
 * 持久化接口-商品库存
 *
 * @since 2025-11-22 21:06:24
 */
public interface StockRepository extends BaseRepository<Stock> {

    List<Stock> queryByItemId(Integer id);

    List<Stock> queryBySpecIds(List<Integer> specIds);

}


